const USERNAME_EXIST = ['用户名已存在', 101];
const USERNAME_OR_PASSWORD_REQUIRED = ['用户名或密码不能为空', 102];
const USERNAME_OR_PASSWORD_ERROR = ['用户名或密码错误', 103];
const TOKEN_UNVALIDATE = ['用户未登陆或登陆已过期', 104];
const CONTENT_REQUIRED = ['内容不能为空', 201];
const INFO_NOTFOUND = ['该id对应的实体不存在', 202];

const COMMENT_UNVALID = ['参数不合法,请检查!', 301];
const MOMENTID_UNVALID = ['momentId不合法!', 302];


const TAGNAME_REQUIRED = ['标签名不能为空!', 401];


const NO_PERMISSON = ['暂无该操作权限', 901];

module.exports = {
  USERNAME_EXIST,
  USERNAME_OR_PASSWORD_REQUIRED,
  USERNAME_OR_PASSWORD_ERROR,
  TOKEN_UNVALIDATE,
  CONTENT_REQUIRED,
  INFO_NOTFOUND,
  NO_PERMISSON,
  COMMENT_UNVALID,
  MOMENTID_UNVALID,
  TAGNAME_REQUIRED
};
